package com.sw.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigInteger;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName(value = "transaction")
public class TransactionInfo extends BasePojo {
    @TableId(type = IdType.AUTO)
    private String id;
    private String hash;
    private String blockHash;
    private BigInteger blockNumber;
    private String fromAddr;
    private String toAddr;
    private String value;
    private String symBol;
    private String gasPrice;
    private String gasLimit;
    private BigInteger gasUsed;
    private String gasCost;
    private String status;

}
